package com.example.jurisdiction.Mapper;

import entity.role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface roleMapper {
    public List<role> getRole()throws Exception;
    public int addRole(role r) throws Exception;
    public int updateRole(role r)throws Exception;
    public int delRole(int id) throws Exception;
    public role getRoles(int id) throws Exception;
}
